﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Data.Entity;
using Cadcam7Moddel.Model;

namespace Cadcam7Moddel.Context
{
    public class DataContext :DbContext
    {
        

        public DataContext()
            : base("DefaultConnection")
        {
 
        }
        public DbSet<Tintuc> Tintuc { get; set; }
        public DbSet<Loaitin> Loaitin { get; set; }
        public DbSet<Trang> Trang { get; set; }
        public DbSet<Lienhe> Lienhe { get; set; }
        public DbSet<Cauhinhtrang> Cauhinhtrang { get; set; }
        public DbSet<Taikhoan> Taikhoan { get; set; }
        public DbSet<Slideshow> Slideshow { get; set; }

        public DbSet<NgonNgu> NgonNgus { get; set; }

        public DbSet<ObjectItem> ObjectItems { get; set; }
        public DbSet<Support> Supports { get; set; }

        public DbSet<Mon> Mons { get; set; }

        public DbSet<Subject> Subjects { get; set; }
        public DbSet<DangKyHoc> DangKyHocs { get; set; }
    }
}
